package com.lovo.game;

import java.util.Scanner;

public class Game {

    public void process(){
        Scanner scanner = new Scanner(System.in);
        System.out.println("BO5猜拳游戏开始！");
        System.out.println("输入玩家姓名：");
        Judge judge = new Judge(new Player(scanner.next()), new Computer());
        for (int i = 0; i < 5; i++){
            System.out.println("\n第" + (i + 1) + "局");
            judge.check();
        }
        judge.endCheck();

    }


    public static void main(String[] args) {

        new Game().process();

    }
}
